//
//  YXLHomeNotifyInfoView.m
//  MyNewProject
//
//  Created by 于兴雷 on 2019/1/29.
//  Copyright © 2019年 sun. All rights reserved.
//

#import "YXLHomeNotifyInfoView.h"

@implementation YXLHomeNotifyInfoView

-(id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    
    if (self) {
        self.userInteractionEnabled = NO;
        
        [self initView];
    }
    
    return self;
}

-(void)initView
{

//    UIImageView *iconImgView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 15, 70, 15)];
//    iconImgView.contentMode = UIViewContentModeScaleAspectFit;
//    iconImgView.image = [UIImage imageNamed:@"latestAnnouncement"];
//    [self addSubview:iconImgView];
//    self.iconImgView = iconImgView;
    
    
    UILabel *contentLab = [[UILabel alloc] initWithFrame:CGRectMake(0, 15, 200, 15)];
    contentLab.font = [UIFont systemFontOfSize:14];
    [self addSubview:contentLab];
    self.contentLab = contentLab;
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
